<?php
	class Comment extends AppModel {
		var $name = 'Comment';

		var $belongsTo = array(
        'Creator'=>array(
            'className'=>'User', 'foreignKey'=>'user_id', 'conditions'=>'', 'fields'=>'', 'order'=>''
        	)
        );
		var $validate = array(
				'content' => array (
					'rule' => 'notempty',
					'message' => 'Comment can not be empty'
				)
			);
	}

?>